﻿using System;
using System.Data.Entity;
using WebSiteFool.Models;
using System.ComponentModel.Composition;

namespace WebSiteFool.DAL
{
    [Export(typeof(DbContext))]
    public partial class FoolDataContext : DbContext
    {
        public FoolDataContext()
            : base("DefaultConnection")
        {
        }

        public FoolDataContext(string nameOrConnection)
            : base(nameOrConnection)
        {
        }
        public DbSet<UserProfile> UserProfiles { get; set; }
        public DbSet<Article> Articles { get; set; }
        public DbSet<Picture> Pictures { get; set; }
    }
}